<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>  
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>  
<html>
  <head>
    
  </head>
  <body>
  ${cms.id }
    zkdjid. <br>
    <c:out value="${cms.name }"></c:out>
    <c:if test="${cms.end_time!=null }">
      <fmt:formatDate value="${cms.end_time }" type="both" dateStyle="full" />
    </c:if>
    <script type="text/javascript">
	    $(document).ready(function(){
	 	   var a = "a";
	 	   //alert(a);
	 	   $("#bu").click(function(){
		  // var item = $("input[name=isDeposit][checked]").val();
		   //alert(item)
		   $("input[name=isDeposit]").each(function(){
			   var s = $(this).attr("checked");
			   alert(s);
		   });
	   });
	  
		});
  </script>
  
		<input id="a" name="isDeposit" type="radio" checked="checked"  value="aaa">有</input>
		<input id="a" name="isDeposit" type="radio"  value="0bb">无</input>
		
		<button id="bu">test</button>
  </body>
</html>
